.class Lcom/estrongs/android/ui/dialog/o$a;
.super Ljava/lang/Object;
.source "ClearAppRemnantFoldersDialog.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/dialog/o;-><init>(Les/sp;Ljava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;Landroid/content/DialogInterface$OnDismissListener;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Landroid/content/DialogInterface$OnDismissListener;

.field final synthetic b:Les/sp;

.field final synthetic c:Lcom/estrongs/android/ui/dialog/o;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/dialog/o;Landroid/content/DialogInterface$OnDismissListener;Les/sp;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/o$a;->c:Lcom/estrongs/android/ui/dialog/o;

    iput-object p2, p0, Lcom/estrongs/android/ui/dialog/o$a;->a:Landroid/content/DialogInterface$OnDismissListener;

    iput-object p3, p0, Lcom/estrongs/android/ui/dialog/o$a;->b:Les/sp;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 8

    .line 1
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/o$a;->c:Lcom/estrongs/android/ui/dialog/o;

    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v0

    invoke-static {p2, v0}, Lcom/estrongs/android/ui/dialog/o;->a(Lcom/estrongs/android/ui/dialog/o;Lcom/estrongs/android/statistics/b;)Lcom/estrongs/android/statistics/b;

    .line 2
    :try_start_0
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/o$a;->c:Lcom/estrongs/android/ui/dialog/o;

    invoke-static {p2}, Lcom/estrongs/android/ui/dialog/o;->a(Lcom/estrongs/android/ui/dialog/o;)Lcom/estrongs/android/statistics/b;

    move-result-object p2

    const-string v0, "act3"

    const-string v1, "app_remnant_folders"

    invoke-virtual {p2, v0, v1}, Lcom/estrongs/android/statistics/b;->b(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p2

    .line 3
    invoke-virtual {p2}, Ljava/lang/Exception;->printStackTrace()V

    .line 4
    :goto_0
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/o$a;->c:Lcom/estrongs/android/ui/dialog/o;

    invoke-virtual {p2}, Lcom/estrongs/android/ui/dialog/o;->b()I

    move-result p2

    if-nez p2, :cond_0

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/o$a;->c:Lcom/estrongs/android/ui/dialog/o;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/o;->a:Landroid/app/Activity;

    const p2, 0x7f1106bc

    invoke-virtual {p1, p2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    const/4 p2, 0x1

    new-array p2, p2, [Ljava/lang/Object;

    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/o$a;->c:Lcom/estrongs/android/ui/dialog/o;

    iget-object v0, v0, Lcom/estrongs/android/ui/dialog/o;->a:Landroid/app/Activity;

    const v1, 0x7f110213

    invoke-virtual {v0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    aput-object v0, p2, v1

    invoke-static {p1, p2}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    .line 6
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/o$a;->c:Lcom/estrongs/android/ui/dialog/o;

    iget-object p2, p2, Lcom/estrongs/android/ui/dialog/o;->a:Landroid/app/Activity;

    invoke-static {p2, p1, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    return-void

    .line 7
    :cond_0
    check-cast p1, Landroid/app/Dialog;

    const/4 p2, 0x0

    .line 8
    invoke-virtual {p1, p2}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 9
    invoke-virtual {p1}, Landroid/app/Dialog;->dismiss()V

    .line 10
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/o$a;->a:Landroid/content/DialogInterface$OnDismissListener;

    if-eqz p2, :cond_1

    .line 11
    invoke-interface {p2, p1}, Landroid/content/DialogInterface$OnDismissListener;->onDismiss(Landroid/content/DialogInterface;)V

    .line 12
    :cond_1
    new-instance v4, Lcom/estrongs/android/ui/dialog/o$a$a;

    invoke-direct {v4, p0}, Lcom/estrongs/android/ui/dialog/o$a$a;-><init>(Lcom/estrongs/android/ui/dialog/o$a;)V

    .line 13
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/o$a;->b:Les/sp;

    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/o$a;->c:Lcom/estrongs/android/ui/dialog/o;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/o;->c()Ljava/util/List;

    move-result-object v1

    const/4 v2, 0x1

    const/4 v3, 0x0

    const/4 v5, 0x1

    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/o$a;->c:Lcom/estrongs/android/ui/dialog/o;

    iget-boolean v6, p1, Lcom/estrongs/android/ui/dialog/o;->f:Z

    const/4 v7, 0x0

    invoke-static/range {v0 .. v7}, Lcom/estrongs/android/pop/utils/p;->a(Les/sp;Ljava/util/List;ZZLes/z80;ZZZ)V

    return-void
.end method
